From 7b2d114b2444dc4bc66df22675d6dc02b7a8a238 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 8 Jul 2025 01:06:09 -0400 Subject: Move container divs for components into those components. The styles for the `MessageInput` and `CreateConversationForm` components assume that the container div will be present, and the components will not render as intended without them. Therefore: they are "part of" the component in most of the ways that matter, not part of the context in which the component is used. Moving the divs into the component will make it easier to reuse these components (for example, in swatches). The diff for this looks worse than it is because of indentation changes. --- ui/routes/(app)/c/[conversation]/+page.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui/routes/(app)/c/[conversation]') diff --git a/ui/routes/(app)/c/[conversation]/+page.svelte b/ui/routes/(app)/c/[conversation]/+page.svelte index e6cd845..24baa47 100644 --- a/ui/routes/(app)/c/[conversation]/+page.svelte +++ b/ui/routes/(app)/c/[conversation]/+page.svelte @@ -116,6 +116,4 @@ {/each} -
- -
+ -- cgit v1.2.3